<admintpl file="header" />
<style>
.col-md-6{width:45%;}
#const,#version_id{width:300px;}
/** reset styling **/

.firebugResetStyles {

    z-index: 2147483646 !important;

    top: 0 !important;

    left: 0 !important;

    display: block !important;

    border: 0 none !important;

    margin: 0 !important;

    padding: 0 !important;

    outline: 0 !important;

    min-width: 0 !important;

    max-width: none !important;

    min-height: 0 !important;

    max-height: none !important;

    position: fixed !important;

    transform: rotate(0deg) !important;

    transform-origin: 50% 50% !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    background: transparent none !important;

    pointer-events: none !important;

    white-space: normal !important;

}

style.firebugResetStyles {

    display: none !important;

}



.firebugBlockBackgroundColor {

    background-color: transparent !important;

}



.firebugResetStyles:before, .firebugResetStyles:after {

    content: "" !important;

}

/**actual styling to be modified by firebug theme**/

.firebugCanvas {

    display: none !important;

}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.firebugLayoutBox {

    width: auto !important;

    position: static !important;

}



.firebugLayoutBoxOffset {

    opacity: 0.8 !important;

    position: fixed !important;

}



.firebugLayoutLine {

    opacity: 0.4 !important;

    background-color: #000000 !important;

}



.firebugLayoutLineLeft, .firebugLayoutLineRight {

    width: 1px !important;

    height: 100% !important;

}



.firebugLayoutLineTop, .firebugLayoutLineBottom {

    width: 100% !important;

    height: 1px !important;

}



.firebugLayoutLineTop {

    margin-top: -1px !important;

    border-top: 1px solid #999999 !important;

}



.firebugLayoutLineRight {

    border-right: 1px solid #999999 !important;

}



.firebugLayoutLineBottom {

    border-bottom: 1px solid #999999 !important;

}



.firebugLayoutLineLeft {

    margin-left: -1px !important;

    border-left: 1px solid #999999 !important;

}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.firebugLayoutBoxParent {

    border-top: 0 none !important;

    border-right: 1px dashed #E00 !important;

    border-bottom: 1px dashed #E00 !important;

    border-left: 0 none !important;

    position: fixed !important;

    width: auto !important;

}



.firebugRuler{

    position: absolute !important;

}



.firebugRulerH {

    top: -15px !important;

    left: 0 !important;

    width: 100% !important;

    height: 14px !important;

    background: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%13%88%00%00%00%0E%08%02%00%00%00L%25a%0A%00%00%00%04gAMA%00%00%D6%D8%D4OX2%00%00%00%19tEXtSoftware%00Adobe%20ImageReadyq%C9e%3C%00%00%04%F8IDATx%DA%EC%DD%D1n%E2%3A%00E%D1%80%F8%FF%EF%E2%AF2%95%D0D4%0E%C1%14%B0%8Fa-%E9%3E%CC%9C%87n%B9%81%A6W0%1C%A6i%9A%E7y%0As8%1CT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AATE9%FE%FCw%3E%9F%AF%2B%2F%BA%97%FDT%1D~K(%5C%9D%D5%EA%1B%5C%86%B5%A9%BDU%B5y%80%ED%AB*%03%FAV9%AB%E1%CEj%E7%82%EF%FB%18%BC%AEJ8%AB%FA'%D2%BEU9%D7U%ECc0%E1%A2r%5DynwVi%CFW%7F%BB%17%7Dy%EACU%CD%0E%F0%FA%3BX%FEbV%FEM%9B%2B%AD%BE%AA%E5%95v%AB%AA%E3E5%DCu%15rV9%07%B5%7F%B5w%FCm%BA%BE%AA%FBY%3D%14%F0%EE%C7%60%0EU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5JU%88%D3%F5%1F%AE%DF%3B%1B%F2%3E%DAUCNa%F92%D02%AC%7Dm%F9%3A%D4%F2%8B6%AE*%BF%5C%C2Ym~9g5%D0Y%95%17%7C%C8c%B0%7C%18%26%9CU%CD%13i%F7%AA%90%B3Z%7D%95%B4%C7%60%E6E%B5%BC%05%B4%FBY%95U%9E%DB%FD%1C%FC%E0%9F%83%7F%BE%17%7DkjMU%E3%03%AC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B9%AE%3E%A0j%94%07%A0%C7%A0%AB%FD%B5%3F%A0%F7%03T%3Dy%D7%F7%D6%D4%C0%AAU%D2%E6%DFt%3F%A8%CC%AA%F2%86%B9%D7%F5%1F%18%E6%01%F8%CC%D5%9E%F0%F3z%88%AA%90%EF%20%00%00%00%00%00%00%00%00%00%C0%A6%D3%EA%CFi%AFb%2C%7BB%0A%2B%C3%1A%D7%06V%D5%07%A8r%5D%3D%D9%A6%CAu%F5%25%CF%A2%99%97zNX%60%95%AB%5DUZ%D5%FBR%03%AB%1C%D4k%9F%3F%BB%5C%FF%81a%AE%AB'%7F%F3%EA%FE%F3z%94%AA%D8%DF%5B%01%00%00%00%00%00%00%00%00%00%8E%FB%F3%F2%B1%1B%8DWU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*UiU%C7%BBe%E7%F3%B9%CB%AAJ%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5*%AAj%FD%C6%D4%5Eo%90%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5%86%AF%1B%9F%98%DA%EBm%BBV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%AD%D6%E4%F58%01%00%00%00%00%00%00%00%00%00%00%00%00%00%40%85%7F%02%0C%008%C2%D0H%16j%8FX%00%00%00%00IEND%AEB%60%82") repeat-x !important;

    border-top: 1px solid #BBBBBB !important;

    border-right: 1px dashed #BBBBBB !important;

    border-bottom: 1px solid #000000 !important;

}



.firebugRulerV {

    top: 0 !important;

    left: -15px !important;

    width: 14px !important;

    height: 100% !important;

    background: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0E%00%00%13%88%08%02%00%00%00%0E%F5%CB%10%00%00%00%04gAMA%00%00%D6%D8%D4OX2%00%00%00%19tEXtSoftware%00Adobe%20ImageReadyq%C9e%3C%00%00%06~IDATx%DA%EC%DD%D1v%A20%14%40Qt%F1%FF%FF%E4%97%D9%07%3BT%19%92%DC%40(%90%EEy%9A5%CB%B6%E8%F6%9Ac%A4%CC0%84%FF%DC%9E%CF%E7%E3%F1%88%DE4%F8%5D%C7%9F%2F%BA%DD%5E%7FI%7D%F18%DDn%BA%C5%FB%DF%97%BFk%F2%10%FF%FD%B4%F2M%A7%FB%FD%FD%B3%22%07p%8F%3F%AE%E3%F4S%8A%8F%40%EEq%9D%BE8D%F0%0EY%A1Uq%B7%EA%1F%81%88V%E8X%3F%B4%CEy%B7h%D1%A2E%EBohU%FC%D9%AF2fO%8BBeD%BE%F7X%0C%97%A4%D6b7%2Ck%A5%12%E3%9B%60v%B7r%C7%1AI%8C%BD%2B%23r%00c0%B2v%9B%AD%CA%26%0C%1Ek%05A%FD%93%D0%2B%A1u%8B%16-%95q%5Ce%DCSO%8E%E4M%23%8B%F7%C2%FE%40%BB%BD%8C%FC%8A%B5V%EBu%40%F9%3B%A72%FA%AE%8C%D4%01%CC%B5%DA%13%9CB%AB%E2I%18%24%B0n%A9%0CZ*Ce%9C%A22%8E%D8NJ%1E%EB%FF%8F%AE%CAP%19*%C3%BAEKe%AC%D1%AAX%8C*%DEH%8F%C5W%A1e%AD%D4%B7%5C%5B%19%C5%DB%0D%EF%9F%19%1D%7B%5E%86%BD%0C%95%A12%AC%5B*%83%96%CAP%19%F62T%86%CAP%19*%83%96%CA%B8Xe%BC%FE)T%19%A1%17xg%7F%DA%CBP%19*%C3%BA%A52T%86%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%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4h%A9%0C%B3E%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4%AE%A4%F5%25%C0%00%DE%BF%5C'%0F%DA%B8q%00%00%00%00IEND%AEB%60%82") repeat-y !important;

    border-left: 1px solid #BBBBBB !important;

    border-right: 1px solid #000000 !important;

    border-bottom: 1px dashed #BBBBBB !important;

}



.overflowRulerX > .firebugRulerV {

    left: 0 !important;

}



.overflowRulerY > .firebugRulerH {

    top: 0 !important;

}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.fbProxyElement {

    position: fixed !important;

    pointer-events: auto !important;

}
#target{color:#f69e17;}
.item-am{height:40px;}
.tu-btn{margin-right:0px;margin-top:3px;}
.tt_publishmblog .action_pm .list_pm li{font-size:16px;}
#fujian{display:inline-block;margin-right:20px;margin-bottom:5px;}
#upFile{display:inline-block;margin-left:20px;}
#upf{margin:10px 0;}
.feed-pubblog .tt_publishmblog .action_pm #list_pm li{font-size:16px;h}

</style>
<script  src="__PUBLIC__/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/ckeditor/ckeditor.js"></script>
<link href="__PUBLIC__/teamwork/index-1705181924.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/teamwork/extra-all-201702141450.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/teamwork/index-1705191619.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/teamwork/lib-1705191619.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/teamwork/all-1705191619.css" rel="stylesheet" type="text/css">

</head>
<body>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li><a href="{:U('TeamWorks/index')}">{:L('ADMIN_TEAMWORK_INDEX')}</a></li>
            <li ><a href="{:U('TeamWorks/add')}">{:L('ADMIN_TEAMWORK_ADD')}</a></li>
			<li><a href="{:U('TeamWorks/add_type')}">{:L('ADMIN_TEAMWORK_ADD_TYPE')}</a></li>
			<li class="active"><a href="{:U('TeamWorks/work_view',array('id'=>$result['id']))}">{:L('ADMIN_TEAMWORK_VIEW')}</a></li>
        </ul>
	<div class="tu-page-container tu-scroll page-sidebar-anmite" data-name="main-container-region" style=" margin-right: 0px;">
        <div class="tu-main-container-inner tu-clearfix" data-name="main-container-innner-region" style="margin-right: 0px; min-height: 1022px;"><div class="tt_shareinfo">
	<div data-name="task-info-box"><div id="339794_7540265_7_20_636306342118041949" class="task-detail-layout">
<div data-name="task-detail-unaccept"><div class="ux_edittask_accept_wrap"><div class="ux_edittask_accept">

	
		
		
	
</div></div></div>
<div data-name="task-detail-relate"></div>
<div data-name="task-detail-action"><div id="339794_7540265_7_20_636306342118041949" class="tt-task-detail-topbar">
<div class="tt-task-detail-topbar__main tu-clearfix">
	<div class="tt-task-detail-topbar__main-status" >
		
			<div class="tt-task-detail-topbar__main-status-set tu-cp" id="check_status"  data-name="task-set-status">
				<a href="javascript:void(0);"  class='tt-task-detail-topbar__main-status-set-icon fa 
				<php>
							if($result["status"] == 1){
								echo "fa-square-o";
							}else if($result["status"] == 2){
								echo "fa-youtube-play";
							}else if($result["status"] == 3){
								echo "fa-check";
							}else if($result["status"] == 4){
								echo "fa-clock-o";
							}else if($result["status"] == 5){
								echo "fa-close (alias)";
							}else if($result["status"] == 6){
								echo "fa-pause";
							}
							</php>
				'></a><php>
							if($result["status"] == 1){
								echo "未开始";
							}else if($result["status"] == 2){
								echo "进行中";
							}else if($result["status"] == 3){
								echo "已完成";
							}else if($result["status"] == 4){
								echo "已延迟";
							}else if($result["status"] == 5){
								echo "已取消";
							}else if($result["status"] == 6){
								echo "暂停中";
							}
							if($result["verify_status"] == 1 && $result["status"] == 3){
								echo "&nbsp;&nbsp;&nbsp;&nbsp;审核通过";
							}else if($result["verify_status"] == 0 && $result["status"] == 3){
								echo "&nbsp;&nbsp;&nbsp;&nbsp;等待审核";
							}
							</php>
			</div>
	</div>
	<ul class="tt-task-detail-topbar__main-action tu-clearfix">
		<li class="tt-task-detail-topbar__main-action-list">
			<if condition="$result['status'] eq 3 ">
			<span class="tt-task-detail-topbar__main-action-list-icon tt-task-detail-topbar__main-action-list-icon_delete fa fa-check" onclick="verify_status({$result.id})"  ></span>
			</if>
			<span id="target" class='tt-task-detail-topbar__main-action-list-icon fa <php>if($result["is_target"] == 1){echo "fa-star";}else{echo "fa-star-o";}</php>' onclick="is_target({$result['id']},{$result['is_target']})" data-name="set-task-star" data-infotip-body="标为星标"></span>
			
			<span class="tt-task-detail-topbar__main-action-list-icon tt-task-detail-topbar__main-action-list-icon_delete fa fa-trash-o" onclick="del_twork({$result.id})" data-infotip-body="删除" data-name="set-task-deleted"></span>			
			<span class="tt-task-detail-topbar__main-action-list-line"></span>
		</li>
	</ul>
</div>
<div class="changestatusview" id="t_status" style="top: 40px; left: 20px;display:none;">
	<div class="tu-dropdown">
		<ul class="tu-dropdown-menu">
			<li class="tu-menuitem"  onclick="edit_status(3,{$result['id']})">
			<span class="fa fa-check changestatusview__ico">已完成</span>
			</li>
			<li class="tu-menuitem"  onclick="edit_status(2,{$result['id']})">
			<span class="fa fa-youtube-play changestatusview__ico">进行中</span>
			</li>
			<li class="tu-menuitem"  onclick="edit_status(4,{$result['id']})">
			<span class="fa fa-clock-o changestatusview__ico">已延迟</span>
			</li>
			<li class="tu-menuitem"  onclick="edit_status(5,{$result['id']})">
			<span class="fa fa-close (alias) changestatusview__ico">已取消</span>
			</li>
			<li class="tu-menuitem"  onclick="edit_status(6,{$result['id']})">
			<span class="fa fa-pause changestatusview__ico">暂停中</span>
			</li>
			<li class="tu-menuitem"  onclick="edit_status(1,{$result['id']})">
			<span class="fa fa-square-o changestatusview__ico">未开始</span>
			</li>
		</ul>
	</div>
</div>

</div></div>
<div data-name="task-detail-scroll">
	<div data-name="task-detail-info"><div class="ux-edittask__info">

<div class="ux-edittask__info-status icon-status-1"></div>



	<div class="ux-edittask__info-name" data-name="task-detail-name">
		<input class="ux-edittask__info-name-input" type="text">
		<div class="ux-edittask__info-name-title" data-name="task-name">{$result['title']}</div>
		<!--<div class="ux-edittask__info-name-extra" data-name="edit-extra">
			<div class="ux-edittask__info-name-error" data-name="error-tip"></div>
			<div class="ux-edittask__info-name-btns">
				<button class="tu-btn tu-btn-small " data-name="cancel">取消</button>
				<button class="tu-btn tu-btn-small tu-btn-sure" data-name="confirm">确定</button>
			</div>
		</div>-->
	</div>


<div class="ux-edittask__description" data-name="description-container">
<a class="ux-edittask__description-add" href="javascript:void(0)" data-name="task-detail-descript-add" style="display:none">添加描述</a>
<div class="ux-edittask__description_show editor-style clearfix" data-name="task-detail-descript">
<p>
{$result.description}
<br>
</p>
</div>
</div>

</div></div>
	<div class="task-extra-info" data-name="ux-customizetDatas" style="display: none;"></div>
	<div data-name="task-detail-evaluation"></div>
	<div data-name="task-detail-base-info"><div id="339794_7540265_7_20_636306342118041949" class="ux_editask_base">
	<!--<dl class="task-relate edit-able_handler" data-name="task-relate-container">
	<dt data-toggle="tip" data-tip="只有发起人和负责人可以编辑关联" class="task-relate__title" data-name="task-relate-text">
		<i class="tu-icon-link-12 ico-eb"></i>
		<span class="tu-ft_m2">关联任务</span>
	</dt>
	<dd class="task-relate__text">
		
			<span class="edit-task-link tu-ft_c2 pointer" id="339794_7540173_7_20_636306339410973949" data-name="edit-task-link">
				yibufen
			</span>
		
	</dd>
	
		<div class="tu-icon-edit edit-able" data-name="task-relate-change" data-toggle="tip" data-tip="修改关联" data-original-title=""></div>
		
		<a class="tu-icon-wiki tu-ft_m3 tu-ft-hv_c3 task-relate__wiki" href="http://service.tita.com/pages/viewpage.action?pageId=590574" target="_blank" data-toggle="tip" data-tip="了解关联任务"></a>
	
	</dl>-->




<div class="tu-ft_m1 ux_editask_base__item edit-able_handler" data-name="date-area">
	<div class="left-eb tu-ft_m2">
		<span class="fa fa-calendar ico-eb"></span>
		<span>起止时间</span>
	</div>

	
		
			<span data-name="set-task-date">{$result.start_time|date="m/d H:i",###} -- {$result.end_time|date="m/d H:i",###}</span>
		
		
	
	
	<!--<div class="tu-icon-edit edit-able" data-name="task-detail-date-edit" data-toggle="tip" data-tip="编辑" data-original-title=""></div>-->
	
	
		
			<php>$t = time() - $result["end_time"];
				if($t > 0){
					$d = ceil($t/(24*3600));
					echo '<span class="tu-ft_error left">已过期 <span class="due-num">'.$d.'</span> 天</span>';
				}else{
					$d = ceil(abs($t)/(24*3600));
					echo '<span class="tu-ft_right left">剩余 <span class="remain-num">'.$d.'</span> 天</span>';
				}</php> 
		
	

	<!--<div class="ux_editask_base__toggle" data-name="task-detail-toggle">
	
		<span class="txt" data-name="toggle-txt">收起</span><span class="icon tu-icon-arrow-up" data-nme="toggle-ico"></span>
	
	</div>-->
</div>
	

<ul class="all-more" data-name="task-detail-all-info" style="">
	<li class="item-am edit-able_handler">
		<div class="base-item-warp tu-ft_m1">
			<div class="ux_editask_base__item" data-name="prical-area">
				<div class="left-eb tu-ft_m2">
					<span class="fa  fa-user ico-eb"></span>
					<span>负责人</span>
				</div>
				{$result.resp_name}
				
					<!--<div class="tu-icon-edit edit-able" data-name="task-transfer-user" data-toggle="tip" data-tip="编辑"></div>-->
				
			</div>
		</div>
		<div class="base-item-warp tu-ft_m1">
			<div class="ux_editask_base__item">
				<div class="left-eb tu-ft_m2">
					<span class="fa  fa-user ico-eb"></span>
					<span>发起人</span>
				</div>
				{$result.propose_name}
			</div>
		</div>
	</li>
	<li class="item-am">
		<div class="base-item-warp tu-ft_m1">
			<div class="ux_editask_base__item edit-able_show" data-name="participators-area">
				<div class="left-eb tu-ft_m2">
					<span class="fa  fa-user ico-eb"></span>
					<span>参与人</span>
				</div>
				
				{$result.pnames} 
				
				<!--<ul class="ux_editask_base__partner ux_editask_base__users-radius" data-name="partner">
						<li class="last-add ux_editask_base__users-radius_item">
							<div class="tu-icon-edit edit-able margin-left-0" data-name="task-add-partner" data-toggle="tip" data-tip="添加"></div>
						</li>
				</ul>-->
			</div>
		</div>

		<div class="base-item-warp tu-ft_m1 edit-able_show">
			<div class="ux_editask_base__item" data-name="apply-area">
				<div class="left-eb tu-ft_m2">
					<span class="fa  fa-user ico-eb"></span>
					<span>审批人</span>
					
				</div>
				{$result.approve_name}
				<!--<span data-name="task-apply-wrap ">
						<div class="tu-icon-edit edit-able margin-left-0" data-name="task-apply-user-add" data-toggle="tip" data-tip="设置审批人"></div>
				</span>-->
			</div>
		</div>
	</li>
	<li class="item-am">
		<div class="base-item-warp tu-ft_m1">
			<div class="ux_editask_base__item edit-able_handler" data-name="class-container-wrap">
				<div class="left-eb tu-ft_m2">
					<span class="fa fa-th-large ico-eb"></span>
					<span>分类/项目</span>
				</div>
				<span data-name="task-class-text" class="task-class-name">
				
					<php>
					if($result['tname'] == ''){echo "未分类";}else{echo $result['tname'];} ; if($result['type_id'] == 1){echo " -- 分类";}else{echo " -- 项目";}
					</php>
				</span>

				
			</div>
		</div>
		
	</li>
</ul>

<div class="slide-border"></div>

<div class="ux_editask_base__item uploader tu-mt-10" data-name="task-detail-attachment">
	<div class="left-eb tu-ft_m2">
		<span class="fa fa-paperclip ico-eb"></span>
		<span>附件</span>
	</div>
	<foreach name="result.atts" item="vo">
	<a href='{:U("DrawingUpload/download",array("url"=>$vo["file_path"],"file_name"=>$vo["file_name"],"file_type"=>$vo["file_type"]))}'>{$vo.file_name} &nbsp;&nbsp;&nbsp;&nbsp;</a>
	
	</foreach>
	<!--<div class="uploader_container" data-name="task-detail-attachment-button"><div class="upload_component" style="position: relative; display: inline-block; vertical-align: middle;"><a href="javascript:void(0);" title="" data-name="file" class="upload_node upload_new_file" data-original-title="">点击添加<div class="upload_form_container" style="position: absolute; top: 0px;"><form class="upload_form" style="width: 100%;" action="//www.tita.com/api/v1/339794/300067680/Upload/PostFiles?timestamp=1495415795697" method="post" enctype="multipart/form-data" target="upload_target_iframe">
	<input class="callback" name="jsCallback" value="parent._callback__447" type="hidden">
	
	<input style="opacity:0;filter:alpha(opacity=0);" multiple="true" name="file_upload[]" class="upload_file_input" type="file">
	
	
	<input name="domain" class="upload_file_input" value="document.domain=tita.com" type="hidden">
	
</form></div></a></div></div>-->
	<div class="error_container"></div>
	<div class="loading_container"></div>
	
</div>
<div class="ux_editask_base__attachments" data-name="task-detail-attachment-list"><div class="attachment_fb"><ul></ul></div></div>
</div></div>
	
	<div data-name="task-detail-container">
		
		<!--<div data-name="task-detail-add-do"><div class="task-detial-adddo">
<a href="javascript:void(0)" class="tu-btn tu-btn-small tu-btn-sure" data-name="distribute_task">分解任务</a>


<a href="javascript:void(0)" class="tu-btn tu-btn-small tu-btn-sure" data-name="task-work-hour">添加工时</a>




<a href="javascript:void(0)" class="tu-btn tu-btn-small tu-btn-sure" data-name="task-share">添加心得</a>

</div></div>-->
		<div data-name="ux-edittask-area"></div>
		<div data-name="task-apply"></div>
		
		
		<div data-name="task-detail-meet"></div>
		<div data-name="task-detail-travel"></div>
		<div data-name="task-detail-share"><div id="339794_7540265_7_20_636306342118041949" class="task-detail-share">
<div class="task-detail-moduletitle" name="share">
	<div class="icon icon_purple">
		<span class="fa fa-pencil-square-o icon-dt"></span>
	</div>
	<div class="text tu-font-h4">心得(<span data-name="task-detail-share-total"><if condition="$result['study_num'] != 0">{$result.study_num}<else/>0</if></span>)</div>
</div>
<div class="module-content" data-name="task-detail-share-list"><div id="339794_7540265_7_20_636306342118041949" class="tt_share_list_container">

<div class="add-area">
	<div class="topinput" data-name="task-detail-share-new">填写心得</div>
	<div class="share-new" data-name="task-detail-share-new-box">
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('TeamWorks/add_study')}"  enctype="multipart/form-data">
		<textarea cols="70" rows="13"  name="content" id="contents"></textarea>
		<input type="hidden" name="twork_id" value="{$result.id}"/>
			<div class="task-create-bottom-wraper clearfix">
			<div class="ux_publish">
			<span class="publish-wraper " data-name="publish-wraper"> </span>
			<button type="submit" class=" tu-btn tu-btn-small tu-btn-sure" title="发布">发布</button>
			</div>
			
			
			</div>
		</form>
		
	</div>
</div>
<foreach name="study" item="vo">
	<ul data-name="task-detail-share-list"><li class="task_item clearfix"><div class="item-user">
		<span class="radius_img30 radius_img30 responsible_img" style="background-color:#f0c75a;" original-title="{$vo.real_name}">{$vo.real_name|mb_substr=###,0,3,'utf-8'}</span>
		<span class="">{$vo.real_name}</span>
	</div>
	<div class="item-content">
			<div class="clearfix editor-style" data-name="task-detail-share-edit" id="300067680_4_29_636310412862695559"><p>{$vo.content}<br></p></div>
			<div data-name="task-detail-share-rich-warp">
				<div data-name="task-detail-share-rich" id="task-detail-share-rich-item-1495415796348_475"></div>
			</div>
		<div class="bar">
			<div class="left">
				<a href="javascript:void(0);" class="editable" data-name="task-detail-share-time" id="300067680_4_29_636310412862695559">心得日期: {$vo.add_time|date="m/d H:i",###}</a>
			</div>
				<span class="del fa fa-trash-o" data-name="task-detail-share-delete" onclick="del_study({$vo.id})"></span>
		</div>
	</div>
	<div data-name="task-detail-share-attachment"></div>

	<div class="attachment_fb"><ul></ul></div></li>
	</ul>
</foreach>
</div></div></div></div>
		<div data-name="task-detail-comment"><div id="339794_7574397_7_20_636310484294277826"><div class="task-detail-moduletitle">
	<div class="icon icon_green">
		<span class="fa fa-comment-o icon-dt"></span>
	</div>
	<div class="text tu-font-h4">沟通(<span data-name="task-detail-share-total"><if condition="$result['comm_num'] != 0">{$result.comm_num}<else/>0</if></span>)</div>
</div>
<div class="module-content" data-name="task-detail-task-feed"><div class="feed_item_box_v2 only_comment_fb"><div class="left_fb" data-name="feed-left">
	
</div>
<div class="right_fb">
	<div data-name="feed-main"></div>
	<div data-name="feed-content"></div>
	<div data-name="feed-actoin" class="feed-actoin"></div>
	<div data-name="feed-tag" style="display: none;"><div class="tt-tag-add"><div class="project_tag_item clearfix">
	<span id="add-tag" class="add-tag tu-icon-add" data-name="add-tag"></span>
	<div class="tag-container" data-name="tag-container"><div class="tag-container-empty-text"><span class="click-to-add">添加标签</span></div></div>
</div></div></div>
</div>
<div class="submain_fb" data-name="feed-sub-main" style="display: block;">
	<div data-name="feed-comment"><div class="comment_list_fb">


	
<div data-name="comment-list" id="comment-list">
<foreach name="comm" item="vo">
<div class="comment_item_box">
	<div class="left_cb">
		
			<a href="#italent/home?name=TalentProfile-record&amp;to_user_id=300067680" target="_blank">
		
		<span class="radius_img30 avatar_small_fl" style="background-color:#f0c75a;" original-title="{$vo.real_name}">{$vo.real_name|mb_substr=###,0,3,'utf-8'}</span>
		</a>
	</div>
	<div class="right_cb">
		<div class="dynamic_cb clearfix" style="font-size:14px;">
			<span class="name_box_ccb">
			
				<a href="#" class="name_dcb" >{$vo.real_name}</a>
				<php>if($vo['reply_id'] != 0){echo "  回复  ".$vo['reply_name']." 的话";}</php>
			
			：</span><span class="conent_cb" >{$vo.content} <php>if(count($vo['atts']) > 0){echo "，分享了".count($vo['atts'])."个文件";}</php></span>
		</div>
		
		<div class="name_afb ux_editask_base__item uploader tu-mt-10" style="padding:0;">
			<div class="left-eb tu-ft_m2" id="fujian">
				<span class="fa fa-paperclip ico-eb"></span>
				<span>附件(<php>if(!empty($vo['atts'])){echo count($vo['atts']);}else{echo 0;}</php>)</span>
			</div>
			<foreach name="vo.atts" item="vo">
			<a href='{:U("DrawingUpload/download",array("url"=>$vo["file_path"],"file_name"=>$vo["file_name"],"file_type"=>$vo["file_type"]))}'>{$vo.file_name} &nbsp;&nbsp;&nbsp;&nbsp;</a>
			
			</foreach>
			
		</div>

		<div class="refer_cb">
			
			<span class="time_cb" >{$vo.reply_time|date="m/d H:i:s",###}</span>
			<div class="action_cb">
				
				<a href="javascript:void(0);" onclick="del_comm({$vo.id})" data-name="feed-comment-deleted">删除</a>&nbsp;
				
				<a href="javascript:void(0);" onclick="replys({$vo['user_id']})"  class="repls{$vo['user_id']}" alt="{$vo.real_name}">回复</a>
			</div>
		</div>
	</div>
</div>
</foreach>
</div>

</div></div>
</div>
<div data-name="feed-pubblog"><div id="339794_7574397_7_20_636310484294277826" class="tt_publishmblog" style="display: block;">
<div class="box_pm" data-name="mblog-box">

	<div class="who_pm">
		<span>回复</span>
		
		<span class="closed_pm" data-name="to-reply-closed">
		 
		
		</span>
		
	</div>
	
	<form method="post" class="form-horizontal js-ajax-form" action="{:U('TeamWorks/add_comm')}"  enctype="multipart/form-data">
	<div class="add-area">
		<div class="share-new" data-name="task-detail-share-new-box">
			
			<textarea class="form-control" id="texta" name="content_comm" style="height:80px;"></textarea>
			<input type="hidden" name="twork_id" value="{$result.id}"/>
			<input type="hidden" name="reply_id" value="0" id="reply_inp"/>
			<input type="hidden" name="at_ids" value="0" id="at_inp"/>
				<div class="task-create-bottom-wraper clearfix">
				<div class="ux_publish">
				<span class="publish-wraper " data-name="publish-wraper"> </span>
				
				</div>
				
				
				</div>
			
			
		</div>
	</div>
	<div id="upf">
	<span class="fa fa-paperclip" ></span>
	<span class="btn-txt">附件</span>
	<input type="file" id="upFile" name="upFile[]" multiple  />	
	</div>
	<div class="action_pm tu-clearfix">
		<ul class="list_pm" id="list_pm">
			
			
			<li class="user_at" >
				<span class="fa fa-at"></span>
				<span class="btn-txt">同事</span>
				
			</li>
			<li id="user_select" style="display:none;">
				
					<select name="resp_id" id="select">
                        <foreach name="users" item="vo">
                            <option value="{$vo.id}">{$vo.real_name}</option>
                        </foreach>
                    </select>
                
			</li>
			<li class="user_atall" data-name="atall">
				<span class="fa fa-at" data-original-title=""></span>
				<span class="btn-txt">所有同事</span>
			</li>
			
			
			
			
		</ul>
		<div class="right-btn_pm">
			<button type="submit" class="tu-btn tu-btn-small tu-btn-sure js-ajax-submit" id="bottom">回复</button>
		</div>
		</form>
	</div>
	<div id="attachmentViewBox_homeMblog" class="error_container"></div>
	<div id="attachmentViewBox_homeMblog" class="preview_container"><ul class="tita-upload-preview"></ul></div>
	<div id="attachmentViewBox_homeMblog" class="loading_container"></div>
</div>
</div></div></div></div>
</div></div>
		
		
		<div data-name="task-detail-follower"></div>
			
	</div>
</div><div class="task-quick-do-titaw">
<ul data-name="task-quick-list">
	
		<li class="item-tq radius-tq fa-angle-double-ups" data-key="task-list" data-body="任务" data-original-title="">
			<span class="fa fa-angle-double-up"></span>
		</li>
	
			<li class="border"></li>
		
		<li class="item-tq radius-tq fa-angle-double-downs" data-key="task-share" data-body="心得" data-original-title="">
			<span class="fa  fa-angle-double-down"></span>
		</li>
</ul>

</div></div></div>
</div></div>
</div>
    </div>
	<script src="__PUBLIC__/js/common.js"></script>
	
    <script>
	$(document).ready(function(e) {
		CKEDITOR.replace('contents',{
				toolbar :
				[
					['Styles', 'Format'],
					['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', '-', 'Underline']
				],
				uiColor : '#9AB8F3',
				height:'150'
			});	
		$(".user_at").click(function(){
				$('#user_select').css('display','inline-block');
			});
		$(".user_atall").click(function(){
				var text = $('#texta').val();
				$('#texta').val(text+"@ 全体成员,");
				$('#texta').focus();
			});
		$("#check_status").click(function(){
			var dis = $("#t_status").css('display');
				if(dis == 'none'){
					$("#t_status").css('display','block');
				}else{
					$("#t_status").css('display','none');
				}
				
			});
		$(".fa-angle-double-ups").click(function(){
				$('html, body').animate({scrollTop:0}, 'slow');
			});
		$(".fa-angle-double-downs").click(function(){
				var h = $(document).height()-$(window).height();
				$('html, body').animate({scrollTop:h}, 'slow');
			});
		//提交沟通后到页面底部
		var bottom = '{$_GET["bottom"]}';
		if(bottom == 'true'){
			var h = $(document).height()-$(window).height();
            //$(document).scrollTop(h); 
			$('html, body').animate({scrollTop:h}, 'slow');
		}
		
		
		$("#select").on("change", function(){
				getSelectVal();
			});
		
		function getSelectVal(){
			var val = $('#select option:selected').text();
			var text = $('#texta').val();
			$('#texta').val(text+"@ "+val+",");
			//同步存入 at_ids
			var id = $('#select option:selected').val();
			var at_ids = $('#at_inp').val();
			$('#at_inp').val(at_ids+','+id);
			$('#texta').focus();
		}
		
		
	});
			function replys(userid){
				var alt = $(".repls"+userid).attr("alt");
				
				$('#reply_inp').attr('value',userid);
				$('.closed_pm').empty();
				$('.closed_pm').append(alt);
			}
			function is_target(id,is_target){
				var id = id;
				var is_target = is_target;
				location.href = '/index.php?g=Admin&m=TeamWorks&a=is_target&id='+id+'&is_target='+is_target;
			};
			function del_study(id){
				var id = id;
				location.href = '/index.php?g=Admin&m=TeamWorks&a=del_study&id='+id;
			}
			
			function del_comm(id){
				var id = id;
				location.href = '/index.php?g=Admin&m=TeamWorks&a=del_comm&id='+id;
			}
			function del_twork(id){
				var id = id;
				location.href = '/index.php?g=Admin&m=TeamWorks&a=del_twork&id='+id;
			}
			function edit_status(status,id){
				var status = status;
				location.href = '/index.php?g=Admin&m=TeamWorks&a=edit_status&status='+status+'&id='+id;
			}
			function verify_status(id){
				
				location.href = '/index.php?g=Admin&m=TeamWorks&a=verify_status&id='+id;
			}
			
	</script>
</body>
</html>